class HomeController extends BaseController {

	private mapView:MapView;
	private heroView:HeroView;
	private homeView: HomeView;

	public constructor() {
		super();

		//初始化Model
		// this.loginModel = new LoginModel(this);

		//初始化UI
		//this.mapView = new MapView(this,LayerManager.Game_Bg);
		//App.ViewManager.register(ViewConst.map,this.mapView);

		//this.heroView = new HeroView(this,LayerManager.Game_Main);
		//App.ViewManager.register(ViewConst.hero,this.heroView);

		this.homeView = new HomeView(this, LayerManager.UI_Main);
		App.ViewManager.register(ViewConst.home, this.homeView);
	}
}